<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
    <title>育儿家</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/fullPage.js/2.9.7/jquery.fullpage.min.css">
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_689237_e5v9ds3qrozuxr.css">
    <link rel="stylesheet" href="common/css/common.css">
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
    <div id="fullpage">
        <!-- 第一屏开始 -->
        <div class="section">
            <header>
                <div class="container clearfix">
                    <div class="logo_box fl">
                        <img src="img/logo.png" alt="">
                    </div>
                    <ul class="nav fl">
                        <li class="active"><a href="" >首页</a></li>
                        <li><a href="">课程介绍</a></li>
                        <li><a href="">全日托中心</a></li>
                        <li><a href="">超级育儿师</a></li>
                        <li><a href="">育儿百科</a></li>
                        <li><a href="">招商加盟</a></li>
                        <li><a href="">关于我们</a></li>
                    </ul>
                </div>
            </header>
            <div class="slide slide1 ac">
                <div class="content mx-auto">
                    <h3>育儿家</h3>
                    <h1>2002-2018</h1>
                    <h4>育儿共享社区</h4>
                    <h5>PARENTING COMMUNITY</h5>
                    <a href="#" class="nav_link">点击了解</a>
                </div>
            </div>
            <div class="slide slide2 ac">
                <div class="content mx-auto">
                    <h3>育儿家</h3>
                    <h1>幼儿园-育儿家</h1>
                    <h4>育儿共享社区</h4>
                    <h5>PARENTING COMMUNITY</h5>
                    <a href="#" class="nav_link">点击了解</a>
                </div>
            </div>
            <div class="slide slide3 ac">
                <div class="content mx-auto">
                    <h3>育儿家</h3>
                    <h1>2002-2018</h1>
                    <h4>育儿共享社区</h4>
                    <h5>PARENTING COMMUNITY</h5>
                    <a href="#" class="nav_link">点击了解</a>
                </div>
            </div>
        </div>
        <!-- 第一屏结束 -->
        <!-- 第二屏开始 -->
        <div class="section section2 clearfix">   
            <div class="section_item">
                <div class="section_item_content ac">
                    <h3>0-36个月</h3>
                    <h3>早教启蒙</h3>
                    <h3>安全感建立</h3>
                    <h3>认知启蒙</h3>
                </div>
            </div>
            <div class="section_item">
                <div class="section_item_content ac">
                    <h3>6-36个月</h3>
                    <h3>宝宝探索</h3>
                    <h3>兴趣探索</h3>
                    <h3>建立习惯</h3>
                </div>
            </div>
            <div class="section_item">
                <div class="section_item_content ac">
                    <h3>36-72个月</h3>
                    <h3>幼儿成长</h3>
                    <h3>独立思考</h3>
                    <h3>善于表达</h3>
                </div>
            </div>
            <div class="section_title">
                <img src="img/home/class_intr.png" alt="" />
            </div>
            <div class="section_bot">
                <a href="#">
                    <img src="img/home/section_bot.png" alt="">
                </a>
            </div>
        </div>
        <!-- 第二屏结束 -->
        <!-- 第三屏开始 -->
        <div class="section section3 ">
            <div class="section3_content clearfix">
                <div class="section3_item">
                    <i class="icon iconfont">&#xe63c;</i>
                    <h4>12小时超长日托</h4>
                    <p>早8点-晚8点，加拿大团队设计高端园区。</p>
                </div>
                <div class="section3_item">
                    <i class="icon iconfont">&#xe639;</i>
                    <h4>科学养育</h4>
                    <p>生活即教育，让宝宝 生活规律、拥有自理能力。</p>
                </div>
                <div class="section3_item">
                    <i class="icon iconfont">&#xe63b;</i>
                    <h4>专业早教</h4>
                    <p>不灌输内容，从每个孩子 的兴趣启蒙。</p>
                </div>
                <div class="section3_item">
                    <i class="icon iconfont">&#xe68b;</i>
                    <h4>父母工作坊</h4>
                    <p>学校教育统一， 让父母成为孩子的榜样。</p>
                </div>
                <div class="section3_item">
                    <i class="icon iconfont">&#xe60e;</i>
                    <h4>家庭教育咨询</h4>
                    <p>家庭环境创设， 制定孩子成长计划</p>
                </div>
            </div>
            <div class="section_title">
                <img src="img/home/section4_title.png" alt="" />
            </div>
            <div class="section_bot">
                <a href="#">
                    <img src="img/home/section_bot2.png" alt="">
                </a>
            </div>
        </div>
        <!-- 第三屏结束 -->
        <!-- 第四屏开始 -->
        <div class="section section4 clearfix">
            <div class="section_title">
                <img src="img/home/section3_title.png" alt="" />
            </div>
            <div class="section_bot">
                <a href="#">
                    <img src="img/home/section_bot.png" alt="">
                </a>
            </div>
        </div>
        <!-- 第四屏结束 -->
        <!-- 第五屏开始 -->
        <div class="section section5 clearfix">
            <div class="section_title">
                <img src="img/home/section5_title.png" alt="" />
            </div>
            <div class="section_bot">
                <a href="#">
                    <img src="img/home/section_bot.png" alt="">
                </a>
            </div>
        </div>
        <!-- 第五屏结束 -->
        <!-- 第六屏开始 -->
        <div class="section section6 clearfix">
            <div class="section_title">
                <img src="img/home/section6_title.png" alt="" />
            </div>
            <div class="section_bot">
                <a href="#">
                    <img src="img/home/section_bot.png" alt="">
                </a>
            </div>
        </div>
        <!-- 第六屏结束 -->
        <!-- 第七屏开始 -->
        <div class="section section7 clearfix">
            <div class="section_title">
                <img src="img/home/section7_title.png" alt="" />
            </div>
            <div class="section_bot">
                <a href="#">
                    <img src="img/home/section_bot.png" alt="">
                </a>
            </div>
        </div>
        <!-- 第七屏结束 -->
    </div>      
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/fullPage.js/2.9.7/vendors/jquery.easings.min.js"></script>
    <script src="https://cdn.bootcss.com/fullPage.js/2.9.7/vendors/scrolloverflow.js"></script>
    <script src="https://cdn.bootcss.com/fullPage.js/2.9.7/jquery.fullpage.min.js"></script>
    <script>
        $(function(){
            //轮播图
            $('#fullpage').fullpage({
                css3:true,
                afterLoad: function(anchorLink, index){
                    if(index == 2){
                        $('.section2').find('.section_title').fadeIn(2000);
                        $('.section2').find('.section_bot').fadeIn(2000);
                    }
                    if(index == 3){
                        $('.section3').find('.section_title').fadeIn(2000);
                        $('.section3').find('.section_bot').fadeIn(2000);
                    }
                    if(index == 4){
                        $('.section4').find('.section_title').fadeIn(2000);
                        $('.section4').find('.section_bot').fadeIn(2000);
                    }
                    // if(index == 3){
                    //     $('.section3').find('p').delay(500).animate({
                    //         bottom: '0'
                    //     }, 1500, 'easeOutExpo');
                    // }
                    // if(index == 4){
                    //     $('.section4').find('p').fadeIn(2000);
                    // }
                },
                onLeave: function(index, direction){
                    if(index == '2'){
                        $('.section2').find('.section_title').fadeOut(2000);
                        $('.section2').find('.section_bot').fadeOut(2000);
                    }
                    if(index == '3'){
                        $('.section3').find('.section_title').fadeOut(2000);
                        $('.section3').find('.section_bot').fadeOut(2000);
                    }
                    if(index == '4'){
                        $('.section4').find('.section_title').fadeOut(2000);
                        $('.section4').find('.section_bot').fadeOut(2000);
                    }
                    
                    // if(index == '3'){
                    //     $('.section3').find('p').delay(500).animate({
                    //         bottom: '-120%'
                    //     }, 1500, 'easeOutExpo');
                    // }
                    // if(index == '4'){
                    //     $('.section4').find('p').fadeOut(2000);
                    // }
                }
            });
               
            // setInterval(function(){
            //     $.fn.fullpage.moveSlideRight();
            // }, 3000);
            //$.fn.fullpage.setScrollingSpeed(2000);
           

        
        });
    </script>
</body>
</html>